<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%    String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>js/jquery-easyui-1.3.5/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>js/jquery-easyui-1.3.5/themes/icon.css">
<script type="text/javascript" src="<%=basePath%>js/jquery-easyui-1.3.5/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery-easyui-1.3.5/easyloader.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery-easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="js/Calendar.js"></script>
<script type="text/javascript" src="<%=basePath%>charts/FusionCharts.js"></script>
</head>
<script type="text/javascript">
function do_search(){
	var startDay=$('#startDay').datebox('getValue');  //注意.datebox('getValue')是EasyUI固定的写法。
	var endDay=$('#endDay').datebox('getValue');
	
}
</script>
<body>
<div>
	<center>
	<form action="<%=basePath%>info/ownergetbydaycolumn" method="get">
		<input type="hidden" name="webId" value="<c:out value="${webId }"/>">
		查询时间：从<input class="easyui-datetimebox" style="width:150px" name="startDay" id="startDay" value="<c:out value="${startDay }"/>">
		到 <input class="easyui-datetimebox" style="width:150px" name="endDay" id="endDay"  value="<c:out value="${endDay }"/>" >
		
		<input type="submit" value="查询" onclick='do_search(this.form)' >
	</form>
	</center>
</div>
<div id="chartContainer">FusionCharts XT will load here!</div>          
    <script type="text/javascript">

      var myChart = new FusionCharts( "<%=basePath%>charts/Column3D.swf", 
                    "myChartId", "1024", "500", "0" );

      myChart.setJSONData(${json});

      myChart.render("chartContainer");      
    </script>
</body>
</html>